﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsTongHopHangNhapXuatTheoCacNguon" targetNamespace="http://tempuri.org/DsTongHopHangNhapXuatTheoCacNguon.xsd" xmlns:mstns="http://tempuri.org/DsTongHopHangNhapXuatTheoCacNguon.xsd" xmlns="http://tempuri.org/DsTongHopHangNhapXuatTheoCacNguon.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="AccountingGuidConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AccountingGuidConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.AccountingGuidConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ThongTinDoanhNghiepTableAdapter" GeneratorDataComponentClassName="ThongTinDoanhNghiepTableAdapter" Name="ThongTinDoanhNghiep" UserDataComponentName="ThongTinDoanhNghiepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AccountingGuidConnectionString (Settings)" DbObjectName="AccountingGuid.dbo.Select_ThongTinDoanhNghiep2" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ThongTinDoanhNghiep2</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TenDoanhNghiep" DataSetColumn="TenDoanhNghiep" />
              <Mapping SourceColumn="DiaChi" DataSetColumn="DiaChi" />
              <Mapping SourceColumn="DienThoai" DataSetColumn="DienThoai" />
              <Mapping SourceColumn="MaSoThue" DataSetColumn="MaSoThue" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsTongHopHangNhapXuatTheoCacNguon" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DsTongHopHangNhapXuatTheoCacNguon" msprop:Generator_DataSetName="DsTongHopHangNhapXuatTheoCacNguon" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ThongTinDoanhNghiep" msprop:Generator_UserTableName="ThongTinDoanhNghiep" msprop:Generator_RowDeletedName="ThongTinDoanhNghiepRowDeleted" msprop:Generator_RowChangedName="ThongTinDoanhNghiepRowChanged" msprop:Generator_RowClassName="ThongTinDoanhNghiepRow" msprop:Generator_RowChangingName="ThongTinDoanhNghiepRowChanging" msprop:Generator_RowEvArgName="ThongTinDoanhNghiepRowChangeEvent" msprop:Generator_RowEvHandlerName="ThongTinDoanhNghiepRowChangeEventHandler" msprop:Generator_TableClassName="ThongTinDoanhNghiepDataTable" msprop:Generator_TableVarName="tableThongTinDoanhNghiep" msprop:Generator_RowDeletingName="ThongTinDoanhNghiepRowDeleting" msprop:Generator_TablePropName="ThongTinDoanhNghiep">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenDoanhNghiep" msprop:Generator_UserColumnName="TenDoanhNghiep" msprop:Generator_ColumnVarNameInTable="columnTenDoanhNghiep" msprop:Generator_ColumnPropNameInRow="TenDoanhNghiep" msprop:Generator_ColumnPropNameInTable="TenDoanhNghiepColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DiaChi" msprop:Generator_UserColumnName="DiaChi" msprop:Generator_ColumnVarNameInTable="columnDiaChi" msprop:Generator_ColumnPropNameInRow="DiaChi" msprop:Generator_ColumnPropNameInTable="DiaChiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DienThoai" msprop:Generator_UserColumnName="DienThoai" msprop:Generator_ColumnVarNameInTable="columnDienThoai" msprop:Generator_ColumnPropNameInRow="DienThoai" msprop:Generator_ColumnPropNameInTable="DienThoaiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MaSoThue" msprop:Generator_UserColumnName="MaSoThue" msprop:Generator_ColumnVarNameInTable="columnMaSoThue" msprop:Generator_ColumnPropNameInRow="MaSoThue" msprop:Generator_ColumnPropNameInTable="MaSoThueColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Master_TongHopHangNhapXuatTheoCacNguon" msprop:Generator_UserTableName="Master_TongHopHangNhapXuatTheoCacNguon" msprop:Generator_RowDeletedName="Master_TongHopHangNhapXuatTheoCacNguonRowDeleted" msprop:Generator_RowChangedName="Master_TongHopHangNhapXuatTheoCacNguonRowChanged" msprop:Generator_RowClassName="Master_TongHopHangNhapXuatTheoCacNguonRow" msprop:Generator_RowChangingName="Master_TongHopHangNhapXuatTheoCacNguonRowChanging" msprop:Generator_RowEvArgName="Master_TongHopHangNhapXuatTheoCacNguonRowChangeEvent" msprop:Generator_RowEvHandlerName="Master_TongHopHangNhapXuatTheoCacNguonRowChangeEventHandler" msprop:Generator_TableClassName="Master_TongHopHangNhapXuatTheoCacNguonDataTable" msprop:Generator_TableVarName="tableMaster_TongHopHangNhapXuatTheoCacNguon" msprop:Generator_RowDeletingName="Master_TongHopHangNhapXuatTheoCacNguonRowDeleting" msprop:Generator_TablePropName="Master_TongHopHangNhapXuatTheoCacNguon">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenBaoCao" msprop:Generator_UserColumnName="TenBaoCao" msprop:Generator_ColumnVarNameInTable="columnTenBaoCao" msprop:Generator_ColumnPropNameInRow="TenBaoCao" msprop:Generator_ColumnPropNameInTable="TenBaoCaoColumn" type="xs:string" default="" minOccurs="0" />
              <xs:element name="KyBaoCao" msprop:Generator_UserColumnName="KyBaoCao" msprop:Generator_ColumnVarNameInTable="columnKyBaoCao" msprop:Generator_ColumnPropNameInRow="KyBaoCao" msprop:Generator_ColumnPropNameInTable="KyBaoCaoColumn" type="xs:string" default="" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Detail_TongHopHangNhapXuatTheoCacNguon" msprop:Generator_UserTableName="Detail_TongHopHangNhapXuatTheoCacNguon" msprop:Generator_RowDeletedName="Detail_TongHopHangNhapXuatTheoCacNguonRowDeleted" msprop:Generator_RowChangedName="Detail_TongHopHangNhapXuatTheoCacNguonRowChanged" msprop:Generator_RowClassName="Detail_TongHopHangNhapXuatTheoCacNguonRow" msprop:Generator_RowChangingName="Detail_TongHopHangNhapXuatTheoCacNguonRowChanging" msprop:Generator_RowEvArgName="Detail_TongHopHangNhapXuatTheoCacNguonRowChangeEvent" msprop:Generator_RowEvHandlerName="Detail_TongHopHangNhapXuatTheoCacNguonRowChangeEventHandler" msprop:Generator_TableClassName="Detail_TongHopHangNhapXuatTheoCacNguonDataTable" msprop:Generator_TableVarName="tableDetail_TongHopHangNhapXuatTheoCacNguon" msprop:Generator_RowDeletingName="Detail_TongHopHangNhapXuatTheoCacNguonRowDeleting" msprop:Generator_TablePropName="Detail_TongHopHangNhapXuatTheoCacNguon">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenHang" msprop:Generator_UserColumnName="TenHang" msprop:Generator_ColumnVarNameInTable="columnTenHang" msprop:Generator_ColumnPropNameInRow="TenHang" msprop:Generator_ColumnPropNameInTable="TenHangColumn" type="xs:string" minOccurs="0" />
              <xs:element name="TenNhomHang" msprop:Generator_UserColumnName="TenNhomHang" msprop:Generator_ColumnVarNameInTable="columnTenNhomHang" msprop:Generator_ColumnPropNameInRow="TenNhomHang" msprop:Generator_ColumnPropNameInTable="TenNhomHangColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ThuTu" msprop:Generator_UserColumnName="ThuTu" msprop:Generator_ColumnVarNameInTable="columnThuTu" msprop:Generator_ColumnPropNameInRow="ThuTu" msprop:Generator_ColumnPropNameInTable="ThuTuColumn" type="xs:string" minOccurs="0" />
              <xs:element name="DonViTinh" msprop:Generator_UserColumnName="DonViTinh" msprop:Generator_ColumnVarNameInTable="columnDonViTinh" msprop:Generator_ColumnPropNameInRow="DonViTinh" msprop:Generator_ColumnPropNameInTable="DonViTinhColumn" type="xs:string" minOccurs="0" />
              <xs:element name="SoLuongNhapTKV" msdata:Caption="SoLuongTonDauKy" msprop:Generator_UserColumnName="SoLuongNhapTKV" msprop:Generator_ColumnVarNameInTable="columnSoLuongNhapTKV" msprop:Generator_ColumnPropNameInRow="SoLuongNhapTKV" msprop:Generator_ColumnPropNameInTable="SoLuongNhapTKVColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaTriNhapTKV" msdata:Caption="GiaTriTonDauKy" msprop:Generator_UserColumnName="GiaTriNhapTKV" msprop:Generator_ColumnVarNameInTable="columnGiaTriNhapTKV" msprop:Generator_ColumnPropNameInRow="GiaTriNhapTKV" msprop:Generator_ColumnPropNameInTable="GiaTriNhapTKVColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoLuongXuatTKV" msdata:Caption="SoLuongNhapTuSanXuat" msprop:Generator_UserColumnName="SoLuongXuatTKV" msprop:Generator_ColumnVarNameInTable="columnSoLuongXuatTKV" msprop:Generator_ColumnPropNameInRow="SoLuongXuatTKV" msprop:Generator_ColumnPropNameInTable="SoLuongXuatTKVColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaTriXuatTKV" msdata:Caption="GiaTriNhapTuSanXuat" msprop:Generator_UserColumnName="GiaTriXuatTKV" msprop:Generator_ColumnVarNameInTable="columnGiaTriXuatTKV" msprop:Generator_ColumnPropNameInRow="GiaTriXuatTKV" msprop:Generator_ColumnPropNameInTable="GiaTriXuatTKVColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoLuongNhapDiaPhuong" msdata:Caption="SoLuongMua" msprop:Generator_UserColumnName="SoLuongNhapDiaPhuong" msprop:Generator_ColumnVarNameInTable="columnSoLuongNhapDiaPhuong" msprop:Generator_ColumnPropNameInRow="SoLuongNhapDiaPhuong" msprop:Generator_ColumnPropNameInTable="SoLuongNhapDiaPhuongColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaTriNhapDiaPhuong" msdata:Caption="GiaTriMua" msprop:Generator_UserColumnName="GiaTriNhapDiaPhuong" msprop:Generator_ColumnVarNameInTable="columnGiaTriNhapDiaPhuong" msprop:Generator_ColumnPropNameInRow="GiaTriNhapDiaPhuong" msprop:Generator_ColumnPropNameInTable="GiaTriNhapDiaPhuongColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoLuongXuatDiaPhuong" msdata:Caption="SoLuongBan" msprop:Generator_UserColumnName="SoLuongXuatDiaPhuong" msprop:Generator_ColumnVarNameInTable="columnSoLuongXuatDiaPhuong" msprop:Generator_ColumnPropNameInRow="SoLuongXuatDiaPhuong" msprop:Generator_ColumnPropNameInTable="SoLuongXuatDiaPhuongColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaTriXuatDiaPhuong" msdata:Caption="GiaTriBan" msprop:Generator_UserColumnName="GiaTriXuatDiaPhuong" msprop:Generator_ColumnVarNameInTable="columnGiaTriXuatDiaPhuong" msprop:Generator_ColumnPropNameInRow="GiaTriXuatDiaPhuong" msprop:Generator_ColumnPropNameInTable="GiaTriXuatDiaPhuongColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoLuongNhapKhac" msdata:Caption="SoLuongXuatSanXuat" msprop:Generator_UserColumnName="SoLuongNhapKhac" msprop:Generator_ColumnVarNameInTable="columnSoLuongNhapKhac" msprop:Generator_ColumnPropNameInRow="SoLuongNhapKhac" msprop:Generator_ColumnPropNameInTable="SoLuongNhapKhacColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaTriNhapKhac" msdata:Caption="GiaTriXuatSanXuat" msprop:Generator_UserColumnName="GiaTriNhapKhac" msprop:Generator_ColumnVarNameInTable="columnGiaTriNhapKhac" msprop:Generator_ColumnPropNameInRow="GiaTriNhapKhac" msprop:Generator_ColumnPropNameInTable="GiaTriNhapKhacColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoLuongXuatKhac" msprop:Generator_UserColumnName="SoLuongXuatKhac" msprop:Generator_ColumnVarNameInTable="columnSoLuongXuatKhac" msprop:Generator_ColumnPropNameInRow="SoLuongXuatKhac" msprop:Generator_ColumnPropNameInTable="SoLuongXuatKhacColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaTriXuatKhac" msprop:Generator_UserColumnName="GiaTriXuatKhac" msprop:Generator_ColumnVarNameInTable="columnGiaTriXuatKhac" msprop:Generator_ColumnPropNameInRow="GiaTriXuatKhac" msprop:Generator_ColumnPropNameInTable="GiaTriXuatKhacColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="NhomHang" msprop:Generator_UserTableName="NhomHang" msprop:Generator_RowDeletedName="NhomHangRowDeleted" msprop:Generator_RowChangedName="NhomHangRowChanged" msprop:Generator_RowClassName="NhomHangRow" msprop:Generator_RowChangingName="NhomHangRowChanging" msprop:Generator_RowEvArgName="NhomHangRowChangeEvent" msprop:Generator_RowEvHandlerName="NhomHangRowChangeEventHandler" msprop:Generator_TableClassName="NhomHangDataTable" msprop:Generator_TableVarName="tableNhomHang" msprop:Generator_RowDeletingName="NhomHangRowDeleting" msprop:Generator_TablePropName="NhomHang">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenNhomHang" msprop:Generator_UserColumnName="TenNhomHang" msprop:Generator_ColumnVarNameInTable="columnTenNhomHang" msprop:Generator_ColumnPropNameInRow="TenNhomHang" msprop:Generator_ColumnPropNameInTable="TenNhomHangColumn" type="xs:string" minOccurs="0" />
              <xs:element name="TenNhomHangCha" msprop:Generator_UserColumnName="TenNhomHangCha" msprop:Generator_ColumnVarNameInTable="columnTenNhomHangCha" msprop:Generator_ColumnPropNameInRow="TenNhomHangCha" msprop:Generator_ColumnPropNameInTable="TenNhomHangChaColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="NhomHang_Detail_TinhHinhNhapXuatThanhPhamHangHoa" msdata:parent="NhomHang" msdata:child="Detail_TongHopHangNhapXuatTheoCacNguon" msdata:parentkey="TenNhomHang" msdata:childkey="TenNhomHang" msprop:Generator_UserRelationName="NhomHang_Detail_TinhHinhNhapXuatThanhPhamHangHoa" msprop:Generator_RelationVarName="relationNhomHang_Detail_TinhHinhNhapXuatThanhPhamHangHoa" msprop:Generator_UserChildTable="Detail_TongHopHangNhapXuatTheoCacNguon" msprop:Generator_UserParentTable="NhomHang" msprop:Generator_ParentPropName="NhomHangRow" msprop:Generator_ChildPropName="GetDetail_TongHopHangNhapXuatTheoCacNguonRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>